<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 7/10/21
 * Time: 11:54 PM
 */

namespace app\api\validate\activity;


use LinCmsTp5\validate\BaseValidate;

class CheckGfActivity extends BaseValidate
{
    protected $rule = [
        'title' => 'require|max:50',
        'start_time' => 'require',
        'end_time' => 'require'
    ];

    protected $message = [
        'title' => '请输入活动标题且长度不大于50',
        'start_time' => '请选择活动开始时间',
        'end_time' => '请选择活动结束时间'
    ];
}